search for: railsters

Displaying 5 results from an estimated 5 matches for "railsters".

Did you mean: railsers
2007 Sep 21
1
Do fixture_scenarios and RSpec peacibly coexist?
Railsters: I just installed fixture_scenarios ... http://fixture-scenarios.googlecode.com/svn/trunk/fixture_scenarios ...into a project with some RSpec specifications. They all went kablooey. I didn''t even create a scenario; the system just started calling its version of fixtures(). The normal...
2007 Feb 16
13
negate the regexp in validates_format_of
Railsters: ActiveRecord''s validation system puts other database systems to shame. However, the newbies might not know how to write a regexp that excludes a match, instead of tests for it. Understand - I''m just asking this question to help them. I have been using Regexps since ''gr...
2007 Jan 03
0
submit_form for Ajax via xhr
Railsters: The assert_select system has a submit_form method that reads your current page''s form, and submits all its fields with their data. This works great for Test Driven Development because it tests your current page''s form and your controller''s action at the same time. Is t...
2012 Feb 21
1
link_to 'Frob', '/thang/frob', :remote => true
Railsters: I have finally gotten back to Rails, and I''m having the usual "a little bit too flexible for your own good" problems. Specifically, the above in my Haml renders this: <a href="/thang/frob" data-remote="true">Frob</a> I need href=''#...
2009 Jul 06
8
how to make ZenTest autotest run whenever my tests change
Railsters: Despite Rails being the only Web platform designed for TDD, a lot of its test infrastructure is still "cargo cult" - imitating other test rigs instead of understanding their principles. Most importantly, tests should run instantly. There''s no excuse for breaking this rule,...