assert 2.6.0 → 2.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +4 -0
- data/lib/assert/context/setup_dsl.rb +0 -2
- data/lib/assert/version.rb +1 -1
- data/test/unit/utils_tests.rb +2 -2
- metadata +4 -4
data/Gemfile
CHANGED
data/lib/assert/version.rb
CHANGED
data/test/unit/utils_tests.rb
CHANGED
@@ -47,7 +47,7 @@ module Assert::Utils
|
|
47
47
|
desc "`show_for_diff`"
|
48
48
|
setup do
|
49
49
|
@w_newlines = { :string => "herp derp, derp herp\nherpderpedia" }
|
50
|
-
@w_obj_id =
|
50
|
+
@w_obj_id = Class.new.new
|
51
51
|
end
|
52
52
|
|
53
53
|
should "call show, escaping newlines" do
|
@@ -56,7 +56,7 @@ module Assert::Utils
|
|
56
56
|
end
|
57
57
|
|
58
58
|
should "make any obj ids generic" do
|
59
|
-
exp_out = "
|
59
|
+
exp_out = "#<#<Class:0xXXXXXX>:0xXXXXXX>"
|
60
60
|
assert_equal exp_out, subject.show_for_diff(@w_obj_id, Factory.modes_off_config)
|
61
61
|
end
|
62
62
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: assert
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
|
-
-
|
8
|
+
- 7
|
9
9
|
- 0
|
10
|
-
version: 2.
|
10
|
+
version: 2.7.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Kelly Redding
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2014-01-
|
19
|
+
date: 2014-01-13 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
prerelease: false
|