spec/models/section_spec.rb in adminpanel-0.0.7 vs spec/models/section_spec.rb in adminpanel-0.1.0cl
- old
+ new
@@ -2,20 +2,18 @@
describe Adminpanel::Section do
before do
@section = Adminpanel::Section.new(
:description => "Test description for product",
- :file => "example.png",
:has_image => true,
:key => "example_key",
:has_description => true
)
end
subject { @section }
it { should respond_to(:description) }
- it { should respond_to(:file) }
it { should respond_to(:has_image) }
it { should respond_to(:key) }
it { should respond_to(:name) }
it { should respond_to(:has_description) }
\ No newline at end of file