forked from railsbridge/bridge_troll
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/Polyrhythm/bridge_troll i…
…nto Polyrhythm-master
- Loading branch information
Showing
4 changed files
with
48 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
require 'spec_helper' | ||
|
||
describe "New Event" do | ||
before do | ||
@user_organizer = create(:user, email: "orgainzer@mail.com", first_name: "Sam", last_name: "Spade") | ||
|
||
sign_in_as(@user_organizer) | ||
|
||
visit "/events/new" | ||
end | ||
|
||
|
||
|
||
it "should pre-fill the event details textarea" do | ||
page.should have_field('General Event Details') | ||
page.field_labeled('General Event Details')[:value].should =~ /Workshop Description/ | ||
end | ||
|
||
end |