story_express 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/story_express/rider.rb +1 -1
- data/lib/story_express/version.rb +1 -1
- data/spec/story_express/rider_spec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc2569d3ea2a62a5ff6dc2c15f0c69fb70e4f075
|
4
|
+
data.tar.gz: f217930372afed358b77581f69b86ace664d9274
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f984e044bd51c6203ee19318a0e9fec54c173264cef51a58401586c13757802cf1dd66b7f929ef43d2eaedca820272d942cdd136b970c6ef0436a65a00781cd
|
7
|
+
data.tar.gz: 6b07b2539c96286461dfe4166bf7bb13bab7161d43f5a7832dcb4011409cc65c2dda13f9d4fef4d1baaf57d51b624e069e39c69695ff1a352362c8dd438eeae9
|
data/lib/story_express/rider.rb
CHANGED
@@ -2,7 +2,7 @@ module StoryExpress
|
|
2
2
|
class Rider
|
3
3
|
def deliver(stories)
|
4
4
|
stories.each do |story|
|
5
|
-
story.notes.create text: 'Delivered by
|
5
|
+
story.notes.create text: 'Delivered by Story Express. (https://github.com/shelbyd/story_express)'
|
6
6
|
story.update 'current_state' => 'delivered'
|
7
7
|
end
|
8
8
|
end
|
@@ -22,7 +22,7 @@ describe StoryExpress::Rider do
|
|
22
22
|
subject.deliver stories
|
23
23
|
|
24
24
|
stories.each do |story|
|
25
|
-
expect(story.notes).to have_received(:create).with(text: 'Delivered by
|
25
|
+
expect(story.notes).to have_received(:create).with(text: 'Delivered by Story Express. (https://github.com/shelbyd/story_express)')
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|