spec/mojito/request_extensions_spec.rb in mojito-0.1.2 vs spec/mojito/request_extensions_spec.rb in mojito-0.2.3
- old
+ new
@@ -1,14 +1,16 @@
# encoding: UTF-8
require 'simplecov' and SimpleCov.start do
add_filter "spec/"
+ add_filter "lib/mojito/utils/rspec.rb"
end
require 'mojito'
+require 'mojito/utils/rspec'
describe ::Rack::Request do
subject do
- Mojito.base_application Mojito::Rendering::Content do
+ Mojito::C.runtime_controller Mojito::Rendering::Content do
write request.GET[:hello]
halt!
end.mock_request
end
\ No newline at end of file