testdo 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -79,11 +79,13 @@ Feature: TestDO
79
79
  require 'testdo'
80
80
  test do
81
81
  %w[a b] == %w[a b]
82
+ a = %w[a b]
83
+ a.equal? a
82
84
  end
83
85
  """
84
86
  When I successfully run `ruby file.rb`
85
87
  Then the output should contain exactly:
86
88
  """
87
- OK: 1
89
+ OK: 2
88
90
 
89
91
  """
@@ -1,3 +1,3 @@
1
1
  module Testdo
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/lib/testdo.rb CHANGED
@@ -14,7 +14,7 @@ module Testdo
14
14
 
15
15
  CAPTURE = {
16
16
  [Fixnum, Range, String, NilClass, Regexp, TrueClass, FalseClass] => BASIC_EXPECTATIONS,
17
- [Array] => %i[include? all? any? empty? one? none? member?] + BASIC_EXPECTATIONS }
17
+ [Array] => %i[include? all? any? empty? one? none? member? equal?] + BASIC_EXPECTATIONS }
18
18
 
19
19
  def initialize(capture: CAPTURE)
20
20
  @capture = capture
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testdo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: