[rspec-users] How do I use expect{}.to change().from().to() on Array?

niku -E:) niku at niku.name
Tue Mar 15 11:57:33 EDT 2011


I'm using ruby1.9.2 and rspec2.5.1
I want to use "expect{}.to change().from().to()" like this


When Int class, it passed.
When Ary class, it failed.

Why was Ary test failed and How do I pass this test?


More information about the rspec-users mailing list