<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>Steak Google Group</title>
  <link>http://groups.google.com/group/steakrb</link>
  <description>Anything related to Steak, the minimalist acceptance BDD solution</description>
  <language>en</language>
  <item>
  <title>Testing Error Pages</title>
  <link>http://groups.google.com/group/steakrb/browse_thread/thread/6ad01c2395eea999/0766fe36cd3fb4b7?show_docid=0766fe36cd3fb4b7</link>
  <description>
  I want to test the custom error pages in my Rails 3.1 app with Steak. &lt;br&gt; To do that, I make the following changes. &lt;br&gt; config.consider_all_requests_l ocal = false &lt;br&gt; ActionDispatch::Request.class_ eval do &lt;br&gt; def local? # we need to consider the requests to be non-local to &lt;br&gt; test error pages &lt;br&gt; false &lt;br&gt; end &lt;br&gt; end
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/steakrb/browse_thread/thread/6ad01c2395eea999/0766fe36cd3fb4b7?show_docid=0766fe36cd3fb4b7</guid>
  <author>
  p...@mobalean.com
  (Paul McMahon)
  </author>
  <pubDate>Fri, 18 Nov 2011 07:34:57 UT
</pubDate>
  </item>
  <item>
  <title>Re: Login_With</title>
  <link>http://groups.google.com/group/steakrb/browse_thread/thread/9293d6fc6b55765f/678ad443b72f3ddb?show_docid=678ad443b72f3ddb</link>
  <description>
  Why is so complicated to test with this gems!?
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/steakrb/browse_thread/thread/9293d6fc6b55765f/678ad443b72f3ddb?show_docid=678ad443b72f3ddb</guid>
  <author>
  tute.uni...@gmail.com
  (Matias)
  </author>
  <pubDate>Fri, 12 Aug 2011 21:42:14 UT
</pubDate>
  </item>
  <item>
  <title>Re: Login_With</title>
  <link>http://groups.google.com/group/steakrb/browse_thread/thread/9293d6fc6b55765f/f7a9a9431a23c1c8?show_docid=f7a9a9431a23c1c8</link>
  <description>
  No, thats was my mistake. But even fixing that passing the real &lt;br&gt; password I still doesn&#39;t log_in. The weird thing is that I don&#39;t catch &lt;br&gt; any error when I look the page.body after click_button &amp;quot;Acceder&amp;quot;.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/steakrb/browse_thread/thread/9293d6fc6b55765f/f7a9a9431a23c1c8?show_docid=f7a9a9431a23c1c8</guid>
  <author>
  tute.uni...@gmail.com
  (Matias)
  </author>
  <pubDate>Fri, 12 Aug 2011 20:17:26 UT
</pubDate>
  </item>
  <item>
  <title>Re: [steakrb] Login_With</title>
  <link>http://groups.google.com/group/steakrb/browse_thread/thread/9293d6fc6b55765f/bf988c67f8ffa05c?show_docid=bf988c67f8ffa05c</link>
  <description>
  Devise (or any other authentication library) shouldn&#39;t be an issue here. Problem should be somewhere else. For instance, are you sure &amp;quot;user.password&amp;quot; returns the password of the user? &lt;br&gt; -- Luismi
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/steakrb/browse_thread/thread/9293d6fc6b55765f/bf988c67f8ffa05c?show_docid=bf988c67f8ffa05c</guid>
  <author>
  lmcava...@gmail.com
  (Luismi Cavallé)
  </author>
  <pubDate>Fri, 12 Aug 2011 19:46:08 UT
</pubDate>
  </item>
  <item>
  <title>Re: Login_With</title>
  <link>http://groups.google.com/group/steakrb/browse_thread/thread/9293d6fc6b55765f/15f3076209a2fae1?show_docid=15f3076209a2fae1</link>
  <description>
  That&#39;s only works for controllers, not acceptance test.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/steakrb/browse_thread/thread/9293d6fc6b55765f/15f3076209a2fae1?show_docid=15f3076209a2fae1</guid>
  <author>
  tute.uni...@gmail.com
  (Matias)
  </author>
  <pubDate>Fri, 12 Aug 2011 18:35:25 UT
</pubDate>
  </item>
  <item>
  <title>Re: [steakrb] Login_With</title>
  <link>http://groups.google.com/group/steakrb/browse_thread/thread/9293d6fc6b55765f/9ee927be9616586e?show_docid=9ee927be9616586e</link>
  <description>
  When you use devise with rspec and steak you should make some changes in &lt;br&gt; your configuration. &lt;br&gt; this is for rails3 &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;https://github.com/plataformatec/devise/wiki/How-To:-Controllers-and-Views-tests-with-Rails-3-%28and-rspec%29&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; 2011/8/12 Matias &amp;lt;tute.uni...@gmail.com&amp;gt;
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/steakrb/browse_thread/thread/9293d6fc6b55765f/9ee927be9616586e?show_docid=9ee927be9616586e</guid>
  <author>
  boriscy...@gmail.com
  (Boris Barroso)
  </author>
  <pubDate>Fri, 12 Aug 2011 17:38:12 UT
</pubDate>
  </item>
  <item>
  <title>Login_With</title>
  <link>http://groups.google.com/group/steakrb/browse_thread/thread/9293d6fc6b55765f/2cb772974f831256?show_docid=2cb772974f831256</link>
  <description>
  Im using rails 2.3.12 with Devise. &lt;br&gt; &lt;p&gt;I create a helper: &lt;br&gt; &lt;p&gt; def login_with(user) &lt;br&gt; visit &amp;quot;/users/sign_in&amp;quot; &lt;br&gt; fill_in &amp;quot;user_login&amp;quot;, :with =&amp;gt; user.email &lt;br&gt; fill_in &amp;quot;user_password&amp;quot;, :with =&amp;gt; user.password &lt;br&gt; click_on &amp;quot;Acceder&amp;quot; &lt;br&gt; end &lt;br&gt; &lt;p&gt;And an acceptance test with: &lt;br&gt; &lt;p&gt; let :user do &lt;br&gt; Factory.create :user
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/steakrb/browse_thread/thread/9293d6fc6b55765f/2cb772974f831256?show_docid=2cb772974f831256</guid>
  <author>
  tute.uni...@gmail.com
  (Matias)
  </author>
  <pubDate>Fri, 12 Aug 2011 17:07:58 UT
</pubDate>
  </item>
  <item>
  <title>Re: Problems running steak with Spork -- helpers not loaded correctly</title>
  <link>http://groups.google.com/group/steakrb/browse_thread/thread/bbba8b1e79d323c2/748ea4202ef07082?show_docid=748ea4202ef07082</link>
  <description>
  Same problem here. Paths and helper methods under acceptance/support &lt;br&gt; are not accessible (undefined local variable or method). I am also &lt;br&gt; using Spork (latest from Github) and Ruby 1.9.2 under Rails 3.0.7.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/steakrb/browse_thread/thread/bbba8b1e79d323c2/748ea4202ef07082?show_docid=748ea4202ef07082</guid>
  <author>
  kai.schl...@googlemail.com
  (Kai Schlamp)
  </author>
  <pubDate>Thu, 28 Apr 2011 03:14:20 UT
</pubDate>
  </item>
  <item>
  <title>Re: Problems running steak with Spork -- helpers not loaded correctly</title>
  <link>http://groups.google.com/group/steakrb/browse_thread/thread/bbba8b1e79d323c2/fa3eb0b3c6ca822c?show_docid=fa3eb0b3c6ca822c</link>
  <description>
  Sure thing Tiago. When I run the acceptance tests I get this &lt;br&gt; backtrace: &lt;br&gt; &lt;p&gt; Failure/Error: login_as_admin &lt;br&gt; ActionView::Template::Error: &lt;br&gt; undefined local variable or method `typekit_fonts&#39; for &lt;br&gt; # ./site/app/views/layouts/spree _application.html.erb:6:in `block &lt;br&gt; in &lt;br&gt; _site_app_views_layouts_spree_ application_html_erb__51133354 2_41843800_465909208&#39;
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/steakrb/browse_thread/thread/bbba8b1e79d323c2/fa3eb0b3c6ca822c?show_docid=fa3eb0b3c6ca822c</guid>
  <author>
  jack.kinse...@gmail.com
  (Jack Kinsella)
  </author>
  <pubDate>Mon, 18 Apr 2011 08:24:18 UT
</pubDate>
  </item>
  <item>
  <title>hooks on steak</title>
  <link>http://groups.google.com/group/steakrb/browse_thread/thread/850ba53f3ec76bda/1c633998b25e3173?show_docid=1c633998b25e3173</link>
  <description>
  I want to use hooks on steak to remove access repetition of code. Is &lt;br&gt; there any method of adding steaks like cucumber?
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/steakrb/browse_thread/thread/850ba53f3ec76bda/1c633998b25e3173?show_docid=1c633998b25e3173</guid>
  <author>
  sadik...@sprout-technology.com
  (Sadiksha)
  </author>
  <pubDate>Mon, 18 Apr 2011 07:38:33 UT
</pubDate>
  </item>
  <item>
  <title>Re: Problems running steak with Spork -- helpers not loaded correctly</title>
  <link>http://groups.google.com/group/steakrb/browse_thread/thread/bbba8b1e79d323c2/e77307189b1c63cf?show_docid=e77307189b1c63cf</link>
  <description>
  can you put all line of your error message?
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/steakrb/browse_thread/thread/bbba8b1e79d323c2/e77307189b1c63cf?show_docid=e77307189b1c63cf</guid>
  <author>
  timo...@gmail.com
  (Tiago Albineli Motta)
  </author>
  <pubDate>Sun, 17 Apr 2011 12:50:12 UT
</pubDate>
  </item>
  <item>
  <title>Problems running steak with Spork -- helpers not loaded correctly</title>
  <link>http://groups.google.com/group/steakrb/browse_thread/thread/bbba8b1e79d323c2/32874c30d25ddc99?show_docid=32874c30d25ddc99</link>
  <description>
  Hey, &lt;br&gt; &lt;p&gt;Steak is working great for me without Spork but whenever I run it &lt;br&gt; using Spork I get &amp;quot;undefined local variable&amp;quot; errors whenever my code &lt;br&gt; hits a helper method. Has anyone had any similar issues? My spork (if &lt;br&gt; that&#39;s relevant). &lt;br&gt; &lt;p&gt;require &#39;rubygems&#39; &lt;br&gt; require &#39;spork&#39; &lt;br&gt; ENV[&amp;quot;RAILS_ENV&amp;quot;] ||= &#39;test&#39;
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/steakrb/browse_thread/thread/bbba8b1e79d323c2/32874c30d25ddc99?show_docid=32874c30d25ddc99</guid>
  <author>
  jack.kinse...@gmail.com
  (Jack Kinsella)
  </author>
  <pubDate>Fri, 15 Apr 2011 09:29:37 UT
</pubDate>
  </item>
  <item>
  <title>Re: [steakrb] Way to access app/helpers methods within steak/rspec?</title>
  <link>http://groups.google.com/group/steakrb/browse_thread/thread/444a083e73ff2ac3/efe50f414af2e9f8?show_docid=efe50f414af2e9f8</link>
  <description>
  Yeah, thanks, that is actually what I ended up doing -- the reason I was &lt;br&gt; doing dynamically was that this figure is a moving target while the business &lt;br&gt; logic is under development, but I wanted to verify that the number that the &lt;br&gt; model generates gets out to the page. If I wanted to format the number &lt;br&gt; dynamically in the test then I would have to duplicate the code from the
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/steakrb/browse_thread/thread/444a083e73ff2ac3/efe50f414af2e9f8?show_docid=efe50f414af2e9f8</guid>
  <author>
  d...@structuralartistry.com
  (David Kahn)
  </author>
  <pubDate>Tue, 01 Mar 2011 15:32:27 UT
</pubDate>
  </item>
  <item>
  <title>Re: [steakrb] Way to access app/helpers methods within steak/rspec?</title>
  <link>http://groups.google.com/group/steakrb/browse_thread/thread/444a083e73ff2ac3/0d1f0129bc04843e?show_docid=0d1f0129bc04843e</link>
  <description>
  The reason it&#39;s hard to do what you&#39;re trying is because, as a general rule, it is not a good practice to include and use parts of your implementation in your specs, since they&#39;d get coupled to your implementation and you wouldn&#39;t be really testing those parts of your code (in this example, your helpers and your models).
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/steakrb/browse_thread/thread/444a083e73ff2ac3/0d1f0129bc04843e?show_docid=0d1f0129bc04843e</guid>
  <author>
  lmcava...@gmail.com
  (Luismi Cavallé)
  </author>
  <pubDate>Tue, 01 Mar 2011 00:33:48 UT
</pubDate>
  </item>
  <item>
  <title>Way to access app/helpers methods within steak/rspec?</title>
  <link>http://groups.google.com/group/steakrb/browse_thread/thread/444a083e73ff2ac3/1906cced5a020bc4?show_docid=1906cced5a020bc4</link>
  <description>
  I have a failing test because my number formatting in the spec is different &lt;br&gt; than on the view. The current spec line: &lt;br&gt; has_text?(&amp;quot;$...@account.bill.g rand_total}&amp;quot;).should == true &lt;br&gt; However in my view the formatting is handled by a helper, and for me to get &lt;br&gt; my test to pass I would need to do: &lt;br&gt; has_text?(&amp;quot;$#{format_qb_amount (@account.bill.grand_total)}&amp;quot;) .should == true
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/steakrb/browse_thread/thread/444a083e73ff2ac3/1906cced5a020bc4?show_docid=1906cced5a020bc4</guid>
  <author>
  d...@structuralartistry.com
  (David Kahn)
  </author>
  <pubDate>Tue, 01 Mar 2011 00:17:51 UT
</pubDate>
  </item>
  </channel>
</rss>
