Skip to content

Commit

Permalink
Updating tests for using oauth
Browse files Browse the repository at this point in the history
  • Loading branch information
carols10cents committed Sep 26, 2012
1 parent 57e7775 commit 14a5d0e
Showing 1 changed file with 1 addition and 29 deletions.
@@ -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
Expand All @@ -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/)
Expand Down Expand Up @@ -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

0 comments on commit 14a5d0e

Please sign in to comment.