Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Group info
Language: English
Group categories: Not categorized
More group info »
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 41  Older »

You cannot post messages because only members can post, and you are not currently a member.
Description: Anything related to Steak, the minimalist acceptance BDD solution
 

Testing Error Pages 
  I want to test the custom error pages in my Rails 3.1 app with Steak. To do that, I make the following changes. ...config.consider_all_request s_local = false ...ActionDispatch::Request.cla ss_eval do def local? # we need to consider the requests to be non-local to test error pages false end... more »
By Paul McMahon  - Nov 18 2011 - 1 new of 1 message    

Login_With 
  Im using rails 2.3.12 with Devise. I create a helper: def login_with(user) visit "/users/sign_in" fill_in "user_login", :with => user.email fill_in "user_password", :with => user.password click_on "Acceder" end And an acceptance test with: let :user do Factory.create :user... more »
By Matias  - Aug 12 2011 - 6 new of 6 messages    

hooks on steak 
  I want to use hooks on steak to remove access repetition of code. Is there any method of adding steaks like cucumber?
By Sadiksha  - Apr 18 2011 - 1 new of 1 message    

Problems running steak with Spork -- helpers not loaded correctly 
  Hey, Steak is working great for me without Spork but whenever I run it using Spork I get "undefined local variable" errors whenever my code hits a helper method. Has anyone had any similar issues? My spork (if that's relevant). require 'rubygems' require 'spork' ENV["RAILS_ENV"] ||= 'test'... more »
By Jack Kinsella  - Apr 15 2011 - 4 new of 4 messages    

Way to access app/helpers methods within steak/rspec? 
  I have a failing test because my number formatting in the spec is different than on the view. The current spec line: has_text?("$...@account.bill.g rand_total}").should == true However in my view the formatting is handled by a helper, and for me to get my test to pass I would need to do: has_text?("$#{format_qb_amount (@account.bill.grand_total)}") .should == true... more »
By David Kahn  - Feb 28 2011 - 3 new of 3 messages    

Steak with Session Example 
  Maybe this is more a Capybara question, but I am wondering if someone could provide me with an example of using Steak with sessions. I'm trying achieve something like [link] which tests a user sign in form into a protected area. Thanks in advance.
By Tanner Donovan  - Feb 22 2011 - 6 new of 6 messages    

Multiple before(:each)? 
  I am wondering if multiple contexts and before(:each) can be nested, and the first before(:each) still runs on the nested scenario: context "one" do before(:each) do @something = 1 end scenario "should x" do ... end context "two" do before(:each) do @something_else = 3... more »
By David Kahn  - Feb 17 2011 - 3 new of 3 messages    

Logging in 
  Hi - I just can't seem to get my acceptance tests to log me in. I have this in the helper: config.include Warden::Test::Helpers, :type => :acceptance And this before my tests ... background :each do @admin = Factory.create(:admin) login_as @admin end There are no errors, however when I visit a URL - it sends me back to... more »
By Joerg  - Feb 17 2011 - 5 new of 5 messages    

Run specs without acceptance 
  Today we have rake spec:acceptance or rake spec. Most of the times I want to run all my model/helper/controller specs without the acceptance because acceptance is slower than the others. But I can't found a good way to this without develop my own. Maybe it could be shiped with Steak. What do you guys think about a rake task to run the specs without the... more »
By Daniel Lopes  - Jan 20 2011 - 4 new of 4 messages    

How to configure steak with akepahlos 
  Some time ago I have tried to use the thoughtbot version of akepahlos based on this article [link], but could not make it work, does anyone have an app sample to show me how to test. If not is there any app sample with Steak and selenium.... more »
By boriscy  - Jan 19 2011 - 1 new of 1 message    

1 - 10 of 41   « Newer | Older »

XML       Send email to this group: steakrb@googlegroups.com