Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updating tests for using oauth

  • Loading branch information...
commit 14a5d0e3374b9aaf9cb3399ca29b4e4485be30d5 1 parent 57e7775
@carols10cents carols10cents authored
Showing with 1 addition and 29 deletions.
  1. +1 −29 test/acceptance/{ → doorkeeper}/oauth_provider_test.rb
View
30 test/acceptance/oauth_provider_test.rb → test/acceptance/doorkeeper/oauth_provider_test.rb
@@ -1,5 +1,4 @@
-require 'require_relative' if RUBY_VERSION[0,3] == '1.8'
-require_relative 'acceptance_helper'
+require_relative '../acceptance_helper'
describe "OAuth Provider" do
include AcceptanceHelper
@@ -15,10 +14,6 @@
end
describe "logged out" do
- before do
- visit "/logout"
- end
-
it "redirects to the login page" do
visit "/oauth/authorize"
page.current_url.must_match(/\/login/)
@@ -92,27 +87,4 @@
end
end
end
-
- describe "creating applications" do
- describe "not logged in" do
- it "does not allow unauthenticated users to create an application" do
- skip
- end
- end
-
- describe "logged in" do
- it "has a developers page" do
- visit "/developers"
- skip
- end
-
- it "lets you create an application" do
- skip
- end
-
- it "doesn't let you see other developers' applications" do
- skip
- end
- end
- end
end
Please sign in to comment.
Something went wrong with that request. Please try again.