Skip to content

Commit

Permalink
get the paths right
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismcmahon committed May 23, 2012
1 parent 9df9681 commit abd6e99
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 27 deletions.
25 changes: 0 additions & 25 deletions spec/login/upload_wizard_spec.rb

This file was deleted.

14 changes: 12 additions & 2 deletions spec/upload_wizard/upload_wizard_spec.rb
@@ -1,15 +1,25 @@

require 'spec_helper'


describe "Manipulating Special:UploadWizard" do


context "Log in is required" do
it "should have a link to log in" do
visit_page(UploadWizardPage)
@current_page.logged_in
@current_page.logged_in
@current_page.login_with('user','pass')
end
end

context "Navigate to UW should work after login" do
it "should be on UW" do
visit_page(UploadWizardPage)
@current_page.tutorial_map.should be_true
end
end



end

0 comments on commit abd6e99

Please sign in to comment.