fix spec when user agent is different

Andrew Cantino 10 years ago
parent
commit
991e1466c6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spec/models/agents/website_agent_spec.rb

+ 1 - 1
spec/models/agents/website_agent_spec.rb

@@ -558,7 +558,7 @@ fire: hot
558 558
   describe "checking with headers" do
559 559
     before do
560 560
       stub_request(:any, /example/).
561
-        with(headers: { 'foo' => 'bar', 'user_agent' => /Faraday/ }).
561
+        with(headers: { 'foo' => 'bar' }).
562 562
         to_return(:body => File.read(Rails.root.join("spec/data_fixtures/xkcd.html")), :status => 200)
563 563
       @valid_options = {
564 564
         'name' => "XKCD",