m-spec 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 857fb56c14bef8568ca65cfb7b8dd8a690276d39db4a074ff4ff1bcc87f40623
4
- data.tar.gz: e1e45c135ad1ba9fa443ce1bedd7c29da423801487132e486685ef348539cef2
3
+ metadata.gz: fe47e5d229c865a8619c6f62bc61d85535df6455cdc3f6c6c3f4c23071b633bd
4
+ data.tar.gz: 4a9085d8178b12ef11170b053f8e17d27a8e8a0666219541a3937f616af133f6
5
5
  SHA512:
6
- metadata.gz: 58a02ecbc7553aefa81164debb276264ab9e434a76c5702d4b1081283ed0f4e7523d7d92c7742b27b49a0a0692282a2dea9eb15c6caf5d3b338063735c1f0d34
7
- data.tar.gz: 41d3a4c22032f454c9b4176307457020fda0a2ee00ff7564a736dd1d9b035a3f72203f8940910e4dd32af2e270aeda564636fff7ced719b7b075a8c50c2733dc
6
+ metadata.gz: 0a9982cf39b798aadc96fb67629bfc77935e4e417b22843a9bf411a5cc5431a64378e98ac3610eb6e34ebe2c92f1bc8072324baae2cbb7c77c2df2a6169045f0
7
+ data.tar.gz: c20edd5f8e4f083bdc675d16ed844069c15386a4e78056c2c7017c6c9930a2bd4961d7df130ecd13368a798a81a8a7fc3b80e4c445e2c27c00f3c6e9c43f1560
data/README.md CHANGED
@@ -64,14 +64,14 @@ The Animal
64
64
  fails nicely
65
65
  Expected: ROAAAARRRR!
66
66
  Got: little roar!
67
- /path/to/directory/spec/animal_spec.rb:11:in `block (2 levels) in <top (required)>'
67
+ # /path/to/directory/spec/animal_spec.rb:11:in `block (2 levels) in <top (required)>'
68
68
  stubbing
69
69
  we can mock too!
70
70
  ```
71
71
 
72
72
  It's got simple one-level indentation, simple colour coding for test passes and failures, and simple failure messages with expected and actual values and the failing spec file path and line number.
73
73
 
74
- Remember - you'll have to manage test setup and teardown yourself and keeping your test code dry yourself. Make sure each test runs in isolation.
74
+ Remember - you'll have to manage yourself: test setup and teardown, keeping test code dry, each test running in isolation, and loading source code properly.
75
75
 
76
76
  ## Extending
77
77
 
@@ -88,7 +88,7 @@ m-spec [spec-file]
88
88
  ```
89
89
 
90
90
  ## Pushing to Rubygems
91
- Sign up for an account, check for the gem name you want, and then follow the hints and errors when you
91
+ Sign up for an account, check for the gem name you want, change the gem metadata to represent what you want, and then follow the hints and errors when you
92
92
  ```sh
93
93
  $ bundle exec rake release
94
94
  ```
@@ -12,8 +12,8 @@ module Mspec
12
12
 
13
13
  def failure_message
14
14
  [
15
- "Expected: #{@expectation.value}",
16
- "Got: #{@matcher.value}",
15
+ "Expected: #{@matcher.value}",
16
+ "Got: #{@expectation.value}",
17
17
  ]
18
18
  end
19
19
 
@@ -1,3 +1,3 @@
1
1
  module Mspec
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: m-spec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edward Withers
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-25 00:00:00.000000000 Z
11
+ date: 2020-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler