spec/mapper_spec.rb in divining_rod-0.4.0 vs spec/mapper_spec.rb in divining_rod-0.5.0
- old
+ new
@@ -11,10 +11,10 @@
end
end
end
it "should map a definition" do
- request = mock("rails_request", :user_agent => 'Apple Mobile Safari', :format => :html)
+ request = request_mock(:ua => 'Apple Mobile Safari', :format => :html)
result = @root_definition.evaluate(request)
result.tags.should include(:fuck)
end
end
\ No newline at end of file