Tags » Rspec 2

ROR : TDD / BDD with RSpec : Initial Setup ( Copied )

RSpec Setup in Rails 4

An up-to-date testing environment setup for Rails 4, including RSpec, Capybara, and FactoryGirl.


Gems gonna used are: 457 more words

Ruby On Rails

Ruby : Rspec : Keep Specs Fresh With Anonymous Classes

Keep Specs Fresh With Anonymous Classes (Copied)

Sometimes it can be difficult to test a module since you don’t want to test it tied to a specific implementation. 143 more words


Arduino programming using Ruby, Cucumber & rSpec

The project

This project serves as a sanity check that all is in order with the hardware, without the need to write on-board code using the IDE nor use the avr toolchain. 921 more words


RSpec : Shared example group (it_behaves_like , include_examples , shared_examples )

You probably know how to use describe, context, it and specify to clearly communicate one aspect of your code. The nested context provides by… 176 more words


Ruby On Rails : RSpec : DDT vs TDD ( Development Driven Test vs Test Driven Development)

The term DDT ( Development Driven Test) might sound like a new term to test practitioners in ruby community

To Be continue..

Ruby On Rails

RSpec - Controller Specs, What in the World?!?!

Last week I spent 4 full (and I mean FULL) days learning about controller specs, writing controller specs, and talking at length with other students about controller specs for my… 1,466 more words


RSpec : Matcher : Difference between 'eq' and 'equal' matchers

a.equal?(b) # object identity – a and b refer to the same object
a.eql?(b) # object equivalence – a and b have the same value… 39 more words

Ruby On Rails