Created
September 27, 2013 03:44
-
-
Save adam-e-trepanier/6723833 to your computer and use it in GitHub Desktop.
rspec feature
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'spec_helper' | |
| feature "Credential idempotency" do | |
| # He shouldn't be describing it anyway, but you | |
| # could write the nice little stuff here | |
| scenario "Editing authorization information of a credential increments the version" do | |
| prev_version = obj.credential_version | |
| obj.modify_encrypted_data # A real Domain model or moved to a page object | |
| obj.credential_version.should eql prev_version++ # Not hunting for step, what context did I lose? | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment