timriley + rspec   52

nruth/show_me_the_cookies - GitHub
Cookie manipulation for Capybara (view, delete, …)
github  ruby  rails  testing  cookies  capybara  rspec 
june 2011 by timriley
Alloy Code - Learning RSpec, Part II
Tests for XML handling in rails controllers.
rails  testing  rspec  xml  controllers 
july 2009 by timriley
wincent.com: Getting spec mate to work reliably with TextMate
How to fix yet another problem with the RSpec runner in textmate.
rspec  textmate  bundles 
november 2008 by timriley
rspec_validation_expectations gem released
I just released a new gem on GitHub that provides some common validation expectations to rspec. Instead of writing specs to verify that your models are handling validation correctly, these expectations simply check that the validation is getting declared correctly in your model.
rails  testing  rspec  validation  activerecord  bestpractice 
august 2008 by timriley
new controller examples
"Clarity over DRY" is a good way to summarise the approach we take with a lot of our specs.
rails  rspec  scaffolds  testing  controllers 
july 2008 by timriley
James on Software: Gems I've Known and Loved #1: Expectations
Most rspec examples start with a description, then have code that clearly repeats exactly the same thing. How about saving some space and time by naming your tests with code? This would also help with the one assertion per example rule.
rails  rspec  testing  gems  bestpractice 
june 2008 by timriley
Saving in TextMate
Auto save on loss of focus and when running a test (or spec).
textmate  macosx  rspec 
may 2008 by timriley
RSpec-1.1.4
Some handy changes in the new release.
rails  testing  rspec  gems 
may 2008 by timriley
RSpec and HAML Helpers : Jonathan.inspect
Some good tips of getting specs for haml helpers working properly.
rspec  haml  testing  rails 
may 2008 by timriley
RSpactor - Gitorious
Autotest for specs only, using the OS X Leopard-only FSEvent to monitor the filesystem and avoid autotest's costly polling.
rails  rspec  testing  tools  autotest  macosx  leopard 
april 2008 by timriley
meetteem » Blog Archive » RSpec tmbundle errors
Necessary steps to get command+r to properly run your current spec inside textmate. I wonder why it's broken like this...
textmate  rails  rspec  bundles 
april 2008 by timriley
Pluit Solutions » Blog Archive » Testing flash.now in Rails
How to test flash.now properly in your specs. Monkey patch time!
rails  rspec  flash  flash.now 
april 2008 by timriley
#98 [#11834] Fake Controller Flash object [rspec]
How to test flash.now properly in your specs. Monkey patch time!
rails  rspec  flash  flash.now 
april 2008 by timriley
Unit tests don’t guarantee that your system works « Codeshooter’s Weblog
Sometimes you just have to have integration tests (ones that touch the DB) in your model tests, particularly if you need to make sure validations are doing what you expect.
rails  testing  rspec  database  mocks  activerecord  validation 
march 2008 by timriley
TextMate Blog " File Type Detection (RSpec & Rails)
Make TextMate recognise your RSpec files from the get-go.
via:hughevans  rails  textmate  rspec  macosx 
february 2008 by timriley
Not A Hat—Not A Mock
A cleaner and DRYer alternative to mocking and stubbing with RSpec.
rails  plugins  testing  rspec  mocks  bestpractice 
february 2008 by timriley
Effectively communicating your expectations with RSpec
Writing rspec helpers that match the language you use in the freeform description of your behaviour.
rspec  testing  tips 
september 2007 by timriley
Be Dee Dee and Me
Behaviour Driven Development for Ruby introduced by err the blog
rails  bdd  ruby  rspec  tutorial  testing 
may 2007 by timriley

Copy this bookmark:



description:


tags: