test/representer_generator_test.rb in roar-rails-1.0.1 vs test/representer_generator_test.rb in roar-rails-1.0.2
- old
+ new
@@ -22,16 +22,16 @@
end
test "create a representer with default json support" do
run_generator %w(singer)
- assert_file representer_path('singer'), /include Roar::Representer::JSON/
+ assert_file representer_path('singer'), /include Roar::JSON/
end
test "create a representer with different format support" do
run_generator %w(singer --format=XML)
- assert_file representer_path('singer'), /include Roar::Representer::XML/
+ assert_file representer_path('singer'), /include Roar::XML/
end
test "create a representer with property, class and exnted" do
run_generator %w(singer band:band:group_representer instrument:equipament:instrument_representer)