test/responder_test.rb in roar-rails-1.0.1 vs test/responder_test.rb in roar-rails-1.0.2

- old
+ new

@@ -415,9 +415,9 @@ def singers [singer("Bumi"), singer("Bjork"), singer("Sinead")] end def bumi_json - return "[\"Bumi\"]" if Roar::Rails.rails_version.~ 3.0 + return "[\"Bumi\"]" if (::Rails::VERSION::MAJOR == 3 && ::Rails::VERSION::MINOR == 0) "{\"name\":\"Bumi\"}" end end