04 Apr '13, 7am

Watching More on Cucumber on RailsCasts via @railscasts

@focus Feature: Manage Users In order to manage user details As a security enthusiast I want to edit user profiles only when authorized Scenario Outline: Show or hide edit profile link Given the following user records | username | password | admin | | bob | secret | false | | admin | secret | true | Given I am logged in as "<login>" with password "secret" When I visit profile for "<profile>" Then I should <action> Examples: | login | profile | action | | admin | bob | see "Edit Profile" | | bob | bob | see "Edit Profile" | | | bob | not see "Edit Profile" | | bob | admin | not see "Edit Profile" |

Full article: http://railscasts.com/episodes/159-more-on-cucumber

Tweets

きになる: Watching Undo with Paper Trail on RailsCa...

railscasts.com 01 Apr '13, 5am

Undo and redo behavior is easy to add with a versioning gem such as Paper Trail. Learn how to add an undo link to any mode...

[Rails] / “#400 What's New in Rails 4 - RailsCa...

railscasts.com 04 Apr '13, 1pm

The next major version of Rails is just around the corner and as this is episode 400 it seems like a good time to discuss ...