disclaimer 0.0.7 → 0.1.0
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.
@@ -122,7 +122,7 @@ module Disclaimer
|
|
122
122
|
def test_accept
|
123
123
|
post :accept, :id => @document.name
|
124
124
|
assert_response :redirect
|
125
|
-
root_url = "http://#{request.host_with_port}
|
125
|
+
root_url = "http://#{request.host_with_port}"
|
126
126
|
assert_equal root_url, response.location
|
127
127
|
assert_equal({@document.name.to_sym => ACCEPTED}, session[:disclaimer])
|
128
128
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: disclaimer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -115,6 +115,10 @@ files:
|
|
115
115
|
- test/dummy/app/assets/stylesheets/application.css
|
116
116
|
- test/dummy/app/assets/stylesheets/sample.css
|
117
117
|
- test/dummy/README.rdoc
|
118
|
+
- test/dummy/log/test.log
|
119
|
+
- test/dummy/log/development.log
|
120
|
+
- test/dummy/db/test.sqlite3
|
121
|
+
- test/dummy/db/development.sqlite3
|
118
122
|
- test/dummy/db/schema.rb
|
119
123
|
- test/dummy/config.ru
|
120
124
|
- test/dummy/public/422.html
|
@@ -190,6 +194,10 @@ test_files:
|
|
190
194
|
- test/dummy/app/assets/stylesheets/application.css
|
191
195
|
- test/dummy/app/assets/stylesheets/sample.css
|
192
196
|
- test/dummy/README.rdoc
|
197
|
+
- test/dummy/log/test.log
|
198
|
+
- test/dummy/log/development.log
|
199
|
+
- test/dummy/db/test.sqlite3
|
200
|
+
- test/dummy/db/development.sqlite3
|
193
201
|
- test/dummy/db/schema.rb
|
194
202
|
- test/dummy/config.ru
|
195
203
|
- test/dummy/public/422.html
|