Created
November 8, 2012 08:46
-
-
Save universal/4037618 to your computer and use it in GitHub Desktop.
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
require 'spec_helper' | |
describe "customers" do | |
describe "signup" do | |
#FactoryGirl.find_definitions | |
let(:user) { FactoryGirl.create(:signup_customer)} | |
it "has right data" do | |
visit signup_path | |
fill_in :id, :with => 2110001 | |
fill_in :name, :with => "AVK POLSKA Sp. zo.o." | |
fill_in :email, :with => "[email protected]" | |
fill_in :email_confirmation, :with => "[email protected]" | |
click_button "Create account" | |
page.should have_content("Fireprotection") | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment