spec/fin/models/shared_examples.rb in fin-0.1.3 vs spec/fin/models/shared_examples.rb in fin-0.1.4
- old
+ new
@@ -53,9 +53,11 @@
end
end
describe '#inspect' do
it 'lists all properties' do
+# p subject.inspect
+# p subject.each.to_a
subject.inspect.should == subject.map { |prop, value| "#{prop}=#{value}" }.join(',')
end
end
describe '.model_class_id' do