capnotify 0.1.3pre → 0.1.4pre
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|