capybara_minitest_spec 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module CapybaraMinitestSpec
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
@@ -44,7 +44,7 @@ module MiniTest::Expectations
44
44
  end
45
45
 
46
46
  def base_failure_message(matcher_name, *args)
47
- "#{matcher_name}(#{args.join(', ')})"
47
+ "#{matcher_name}(#{args.map(&:inspect).join(', ')})"
48
48
  end
49
49
 
50
50
  def positive_failure_message(matcher_name, *args)
@@ -454,7 +454,7 @@ describe CapybaraMinitestSpec do
454
454
  else
455
455
  flunk 'No exception was raised'
456
456
  end
457
- assert_equal 'Matcher failed: has_css?(expected, {:count=>1})', exception.message
457
+ assert_equal 'Matcher failed: has_css?("expected", {:count=>1})', exception.message
458
458
  end
459
459
  end
460
460
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: capybara_minitest_spec
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.2
5
+ version: 0.1.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jared Ning