disclaimer 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,7 +9,8 @@ class SampleControllerTest < ActionController::TestCase
9
9
  def test_index_default_redirect
10
10
  get :index
11
11
  assert_redirected_to("/disclaimer/documents/#{@document.name}")
12
- assert_equal({@document.name.to_sym => "http://#{request.host}/sample"}, session[:disclaimer])
12
+ path_to_sample_index = "http://#{request.host}/"
13
+ assert_equal({@document.name.to_sym => path_to_sample_index}, session[:disclaimer])
13
14
  end
14
15
 
15
16
  def test_index_with_disclaimer_accepted
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.5
4
+ version: 0.0.6
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: 2013-04-17 00:00:00.000000000 Z
12
+ date: 2013-05-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails