rails_apps_testing 0.3.4 → 0.3.5
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.
- checksums.yaml +4 -4
- data/CHANGELOG.textile +4 -0
- data/lib/generators/testing/configure/templates/spec/omniauth/controllers/sessions_controller_spec.rb +2 -2
- data/lib/generators/testing/configure/templates/spec/omniauth/factories/users.rb +0 -2
- data/lib/generators/testing/configure/templates/spec/omniauth/features/users/sign_in_spec.rb +0 -1
- data/lib/generators/testing/configure/templates/spec/omniauth/models/user_spec.rb +4 -4
- data/lib/generators/testing/configure/templates/spec/omniauth/support/helpers/omniauth.rb +0 -2
- data/lib/rails_apps_testing/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd3a4334e5d75ef8bb4af8664a1429d68046ce29
|
4
|
+
data.tar.gz: 51217117d8dae4a3f39a963c300cf75d6ca18d07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9125444e2b7c3fdc7ba5fac18b32e5274718aa05ff441893762cca2439eacf9870bce30bfacdce36df0ea4f5f0fd22728dcba16494f95dd1bc8932134e1e767b
|
7
|
+
data.tar.gz: a5dd93be21f9dffd673567ba54f4c4c7925380fb82dd45926d3b040a17a9f1fdad28c5e45b4409be807e04025a828fe29b97b3c6cac952503d01581112a57068
|
data/CHANGELOG.textile
CHANGED
@@ -16,9 +16,9 @@ describe SessionsController, :omniauth do
|
|
16
16
|
expect(session[:user_id]).not_to be_nil
|
17
17
|
end
|
18
18
|
|
19
|
-
it "redirects
|
19
|
+
it "redirects to the home page" do
|
20
20
|
post :create, provider: :twitter
|
21
|
-
expect(response).to redirect_to
|
21
|
+
expect(response).to redirect_to root_url
|
22
22
|
end
|
23
23
|
|
24
24
|
end
|
@@ -1,13 +1,13 @@
|
|
1
1
|
describe User do
|
2
2
|
|
3
|
-
before(:each) { @user =
|
3
|
+
before(:each) { @user = FactoryGirl.create(:user) }
|
4
4
|
|
5
5
|
subject { @user }
|
6
6
|
|
7
|
-
it { should respond_to(:
|
7
|
+
it { should respond_to(:name) }
|
8
8
|
|
9
|
-
it "#
|
10
|
-
expect(@user.
|
9
|
+
it "#name returns a string" do
|
10
|
+
expect(@user.name).to match 'Test User'
|
11
11
|
end
|
12
12
|
|
13
13
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_apps_testing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Kehoe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|