capnotify 0.1.3pre → 0.1.4pre
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/capnotify.rb +1 -1
- data/lib/capnotify/version.rb +1 -1
- data/spec/capnotify_spec.rb +8 -0
- metadata +1 -1
data/lib/capnotify.rb
CHANGED
data/lib/capnotify/version.rb
CHANGED
data/spec/capnotify_spec.rb
CHANGED
@@ -178,6 +178,14 @@ describe Capnotify do
|
|
178
178
|
config.set :branch, 'mybranch'
|
179
179
|
end
|
180
180
|
|
181
|
+
it "should include the application name" do
|
182
|
+
config.capnotify_appname.should match(/SimpleApp/)
|
183
|
+
end
|
184
|
+
|
185
|
+
it "should include the stage name" do
|
186
|
+
config.capnotify_appname.should match(/production/)
|
187
|
+
end
|
188
|
+
|
181
189
|
it "should contain the branch name" do
|
182
190
|
config.capnotify_appname.should match(/mybranch/)
|
183
191
|
end
|