spec/controller_spec.rb in rasti-web-0.0.2 vs spec/controller_spec.rb in rasti-web-0.0.3

- old
+ new

@@ -27,10 +27,10 @@ env = Rack::MockRequest.env_for '/test' status, headers, response = action.call env action.must_be_instance_of Rasti::Web::Endpoint status.must_equal 200 - headers['Content-Type'].must_equal 'text/html' + headers['Content-Type'].must_equal 'text/html; charset=utf-8' response.body.must_equal ['Test HTML'] end it 'Invalid action' do error = proc { TestController.action :invalid }.must_raise RuntimeError \ No newline at end of file