/* hi all
I want to run the following rspec script using ant. Presently I am using 
"rspec filename" to run the script. Is there anyway to approche with ant to 
run the script. 
Thanks 
*/ 

Capybara.default_driver = :selenium
Capybara.app_host       =  "https://www.myweb.com"; 

describe "Login page", :type => :request do
  before { visit "https://www.myweb.com"}  
  
  context "Log page" do
    it "user log" do
      fill_in "email", with:"[email protected]"  
      fill_in "pass", with:"mypass123"        
      click_button "Log In"
      sleep 1.0
      page.should have_content("Welcome to myWeb")  
    end
  end 
end

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rspec/-/JXEV6hwT6soJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to