summaryrefslogtreecommitdiff
path: root/spec/bundler/support/matchers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/support/matchers.rb')
-rw-r--r--spec/bundler/support/matchers.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/bundler/support/matchers.rb b/spec/bundler/support/matchers.rb
index ea7c784683..0f027dcf04 100644
--- a/spec/bundler/support/matchers.rb
+++ b/spec/bundler/support/matchers.rb
@@ -97,18 +97,6 @@ module Spec
end
end
- RSpec::Matchers.define :take_less_than do |seconds|
- match do |actual|
- start_time = Time.now
-
- actual.call
-
- (Time.now - start_time).to_f < seconds
- end
-
- supports_block_expectations
- end
-
define_compound_matcher :read_as, [exist] do |file_contents|
diffable