spec/rack-api/runner_spec.rb in rack-api-0.3.1 vs spec/rack-api/runner_spec.rb in rack-api-1.0.0
- old
+ new
@@ -48,10 +48,10 @@
:default_format => "fffuuu",
:prefix => "api",
:handler => proc {}
}
- Rack::API::App.should_receive(:new).with(hash_including(expected)).once
+ Rack::API::Controller.should_receive(:new).with(hash_including(expected)).once
subject.version("v1") do
respond_to :fffuuu
prefix "api"
default_url_options :host => "mysite.com"