spec/basic_spec.rb in divining_rod-0.3.0 vs spec/basic_spec.rb in divining_rod-0.3.1

- old
+ new

@@ -64,10 +64,10 @@ end describe "without a default definition" do before :each do - @request = mock("rails_request", :user_agent => 'Foo Fone') + @request = mock("rails_request", :user_agent => 'Foo Fone', :format => :html) DiviningRod::Matchers.clear_definitions DiviningRod::Matchers.define do |map| map.ua /iPhone/, :webkit, :tags => [:iphone, :youtube, :geolocate] end end