simple_sign_in 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -38,5 +38,11 @@ describe "LoginFlow" do
38
38
  ApplicationController.class_eval("@@simple_sign_in_envs = nil")
39
39
  end
40
40
 
41
+ it "should raise an error if environment variables are missing" do
42
+ ENV['SIMPLE_SIGN_IN_LOGIN'] = nil
43
+ expect { visit "/" }.to raise_error
44
+ ENV['SIMPLE_SIGN_IN_LOGIN'] = @login
45
+ end
46
+
41
47
  end
42
48
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_sign_in
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Izhar Gavish
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-04 00:00:00.000000000 Z
11
+ date: 2013-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails