notebook/spec/helpers/attributes_helper_spec.rb
2016-10-31 16:32:41 -07:00

16 lines
392 B
Ruby

require "spec_helper"
describe AttributesHelper do
let(:content) { create(:universe) }
let(:category) { create(:attribute_category) }
describe '#attribute_category_tab' do
let(:result) { helper.attribute_category_tab(content, category) }
it "returns an html string" do
expect(result).to be_a_kind_of(String)
expect(result.html_safe?).to be true
end
end
end