ominous 0.0.3 → 0.0.4
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/app/controllers/ominous/application_controller.rb +0 -11
- data/app/helpers/ominous/application_helper.rb +0 -1
- data/app/models/ominous/warning.rb +5 -0
- data/lib/ominous/engine.rb +4 -0
- data/lib/ominous/version.rb +1 -1
- data/test/dummy/app/views/layouts/application.html.erb +0 -1
- data/test/dummy/app/views/things/show.html.erb +2 -0
- data/test/dummy/log/test.log +6103 -0
- data/test/dummy/test/functional/things_controller_test.rb +6 -0
- metadata +2 -4
- data/test/dummy/test/fixtures/things.yml +0 -9
@@ -73,6 +73,12 @@ class ThingsControllerTest < ActionController::TestCase
|
|
73
73
|
assert_not_nil assigns(:things)
|
74
74
|
|
75
75
|
end
|
76
|
+
|
77
|
+
def test_warning_not_caried_on_to_next_action_when_ominous_warnings_helper_not_called
|
78
|
+
Ominous::Warning.trigger(:thing_alert)
|
79
|
+
test_index
|
80
|
+
assert_equal([], Ominous::Warning.requests)
|
81
|
+
end
|
76
82
|
|
77
83
|
def test_new
|
78
84
|
get :new
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ominous
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -171,7 +171,6 @@ files:
|
|
171
171
|
- test/dummy/public/favicon.ico
|
172
172
|
- test/dummy/public/404.html
|
173
173
|
- test/dummy/public/500.html
|
174
|
-
- test/dummy/test/fixtures/things.yml
|
175
174
|
- test/dummy/test/functional/things_controller_test.rb
|
176
175
|
- test/dummy/test/unit/helpers/things_helper_test.rb
|
177
176
|
- test/dummy/test/unit/thing_test.rb
|
@@ -288,7 +287,6 @@ test_files:
|
|
288
287
|
- test/dummy/public/favicon.ico
|
289
288
|
- test/dummy/public/404.html
|
290
289
|
- test/dummy/public/500.html
|
291
|
-
- test/dummy/test/fixtures/things.yml
|
292
290
|
- test/dummy/test/functional/things_controller_test.rb
|
293
291
|
- test/dummy/test/unit/helpers/things_helper_test.rb
|
294
292
|
- test/dummy/test/unit/thing_test.rb
|