mattly-minitest 1.4.2.2 → 1.4.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/minitest/spec.rb +2 -2
  2. metadata +1 -1
@@ -116,8 +116,8 @@ class MiniTest::Spec < MiniTest::Unit::TestCase
116
116
 
117
117
  # beacuse test names are really just comments, and therefore a code smell
118
118
  def self.expect(desc=nil, &block)
119
- @minitest_expection_counter ||= 0; @minitest_expectation_counter += 1
120
- desc ||= "[#{@minitest_expection_counter}]"
119
+ @minitest_expectation_counter ||= 0; @minitest_expectation_counter += 1
120
+ desc ||= "[#{@minitest_expectation_counter}]"
121
121
  name = ["test_", description_stack, desc].flatten.join(' ').gsub(/\W+/, '_').downcase
122
122
  define_method name, &block
123
123
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mattly-minitest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2.2
4
+ version: 1.4.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Davis