Skip to content

Instantly share code, notes, and snippets.

@universal
Created November 8, 2012 08:46
Show Gist options
  • Save universal/4037618 to your computer and use it in GitHub Desktop.
Save universal/4037618 to your computer and use it in GitHub Desktop.
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 => "my.email@provider.be"
fill_in :email_confirmation, :with => "my.email@provider.be"
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