spec/models/model_spec.rb in pupa-0.0.11 vs spec/models/model_spec.rb in pupa-0.0.12
- old
+ new
@@ -89,15 +89,15 @@
}
end
it 'should accept an absolute path' do
File.should_receive(:read).and_return('{}')
- klass_with_absolute_path.json_schema.should == '{}'
+ klass_with_absolute_path.json_schema.should == {}
end
it 'should accept a relative path' do
File.should_receive(:read).and_return('{}')
- klass_with_relative_path.json_schema.should == '{}'
+ klass_with_relative_path.json_schema.should == {}
end
end
describe '#initialize' do
it 'should set the _type' do