Commit 49557000839599af989bc37b46aa5868b6d72ab0
1 parent
8f1edf6f
Exists in
master
and in
1 other branch
Remove webmock
Showing
3 changed files
with
0 additions
and
14 deletions
Show diff stats
Gemfile
Gemfile.lock
... | ... | @@ -86,8 +86,6 @@ GEM |
86 | 86 | simplecov (>= 0.7) |
87 | 87 | term-ansicolor |
88 | 88 | thor |
89 | - crack (0.4.2) | |
90 | - safe_yaml (~> 1.0.0) | |
91 | 89 | css_parser (1.3.5) |
92 | 90 | addressable |
93 | 91 | database_cleaner (1.2.0) |
... | ... | @@ -281,7 +279,6 @@ GEM |
281 | 279 | rushover (0.3.0) |
282 | 280 | json |
283 | 281 | rest-client |
284 | - safe_yaml (1.0.4) | |
285 | 282 | sass (3.4.9) |
286 | 283 | sass-rails (5.0.1) |
287 | 284 | railties (>= 4.0.0, < 5.0) |
... | ... | @@ -325,9 +322,6 @@ GEM |
325 | 322 | useragent (0.9.0) |
326 | 323 | warden (1.2.3) |
327 | 324 | rack (>= 1.0) |
328 | - webmock (1.15.0) | |
329 | - addressable (>= 2.2.7) | |
330 | - crack (>= 0.3.2) | |
331 | 325 | websocket-driver (0.3.3) |
332 | 326 | xmpp4r (0.5.5) |
333 | 327 | xpath (2.0.0) |
... | ... | @@ -392,6 +386,5 @@ DEPENDENCIES |
392 | 386 | underscore-rails |
393 | 387 | unicorn |
394 | 388 | useragent |
395 | - webmock | |
396 | 389 | xmpp4r |
397 | 390 | yajl-ruby | ... | ... |
spec/spec_helper.rb
... | ... | @@ -21,7 +21,6 @@ require File.expand_path("../../config/environment", __FILE__) |
21 | 21 | require 'rspec/rails' |
22 | 22 | require 'email_spec' |
23 | 23 | require 'database_cleaner' |
24 | -require 'webmock/rspec' | |
25 | 24 | require 'xmpp4r' |
26 | 25 | require 'xmpp4r/muc' |
27 | 26 | require 'mongoid-rspec' |
... | ... | @@ -47,17 +46,12 @@ RSpec.configure do |config| |
47 | 46 | DatabaseCleaner[:mongoid].strategy = :truncation |
48 | 47 | DatabaseCleaner.clean |
49 | 48 | end |
50 | - config.include WebMock::API | |
51 | 49 | |
52 | 50 | config.include Haml, :type => :helper |
53 | 51 | config.include Haml::Helpers, :type => :helper |
54 | 52 | config.before(:each, :type => :helper) do |config| |
55 | 53 | init_haml_helpers |
56 | 54 | end |
57 | - | |
58 | - config.before(:all) do | |
59 | - WebMock.disable_net_connect! :allow => /coveralls\.io|127\.0\.0\.1/ | |
60 | - end | |
61 | 55 | end |
62 | 56 | |
63 | 57 | OmniAuth.config.test_mode = true | ... | ... |