diff options
Diffstat (limited to 'spec/support/matchers.rb')
-rw-r--r-- | spec/support/matchers.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/support/matchers.rb b/spec/support/matchers.rb index 0244927bdc..8e17be3a02 100644 --- a/spec/support/matchers.rb +++ b/spec/support/matchers.rb @@ -238,5 +238,9 @@ module Spec def lockfile_should_be(expected) expect(bundled_app("Gemfile.lock")).to read_as(normalize_uri_file(strip_whitespace(expected))) end + + def gemfile_should_be(expected) + expect(bundled_app("Gemfile")).to read_as(strip_whitespace(expected)) + end end end |