mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
16 lines
392 B
Ruby
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
|