ddr-alerts 0.1.1 → 0.2.0
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff87962567bb2ed78a3110a2a2418708741f5373
|
4
|
+
data.tar.gz: 64cf8e22db0c0a080825e96d5ed1ab8fde2ad708
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 411d2a001872d26122d4ef6f8699ea8fa90810cbd359033c7e95be873d0562d953a88112c13a9f06e1fd4e0e73fba37510a353220a08386f32e4c144e7629559
|
7
|
+
data.tar.gz: 72da51b2cc7fa0f6675aae8633808e10fe12c0ce65187b7e9e6f7a98088d6ffdb6e1306b75a36b95f13f2f13e9a6bcbb3c805d1f5345a608da1cb6ede70ad911
|
data/lib/ddr/alerts/version.rb
CHANGED
@@ -3,8 +3,9 @@ require 'spec_helper'
|
|
3
3
|
RSpec.describe 'ddr/alerts/message/_alert_message.html.erb', type: :view do
|
4
4
|
|
5
5
|
let(:msgs) { [ FactoryGirl.create(:message, message: "AAA"), FactoryGirl.create(:message, message: "BBB") ] }
|
6
|
+
before { allow(view).to receive(:alert_messages).and_return(msgs) }
|
6
7
|
it "displays the messages" do
|
7
|
-
render partial: 'ddr/alerts/message/alert_message.html.erb'
|
8
|
+
render partial: 'ddr/alerts/message/alert_message.html.erb'
|
8
9
|
expect(rendered).to match(/AAA/)
|
9
10
|
expect(rendered).to match(/BBB/)
|
10
11
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ddr-alerts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Coble
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -177,9 +177,7 @@ files:
|
|
177
177
|
- spec/dummy/config/locales/en.yml
|
178
178
|
- spec/dummy/config/routes.rb
|
179
179
|
- spec/dummy/config/secrets.yml
|
180
|
-
- spec/dummy/db/development.sqlite3
|
181
180
|
- spec/dummy/db/schema.rb
|
182
|
-
- spec/dummy/db/test.sqlite3
|
183
181
|
- spec/dummy/lib/assets/.keep
|
184
182
|
- spec/dummy/log/.keep
|
185
183
|
- spec/dummy/public/404.html
|
@@ -250,9 +248,7 @@ test_files:
|
|
250
248
|
- spec/dummy/config/locales/en.yml
|
251
249
|
- spec/dummy/config/routes.rb
|
252
250
|
- spec/dummy/config/secrets.yml
|
253
|
-
- spec/dummy/db/development.sqlite3
|
254
251
|
- spec/dummy/db/schema.rb
|
255
|
-
- spec/dummy/db/test.sqlite3
|
256
252
|
- spec/dummy/lib/assets/.keep
|
257
253
|
- spec/dummy/log/.keep
|
258
254
|
- spec/dummy/public/404.html
|