Skip to content

Commit

Permalink
replace pending case with valid test case (p144)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanbibat committed Sep 4, 2011
1 parent 0be034b commit 90cb917
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/models/customer_spec.rb
@@ -1,5 +1,7 @@
require 'spec_helper'

describe Customer do
pending "add some examples to (or delete) #{__FILE__}"
it "should create a new instance given valid attributes" do
Customer.create!(:name => 'John', :active => false) # will throw error on failure
end
end
1 change: 1 addition & 0 deletions webrat.log
@@ -1,2 +1,3 @@
# Logfile created on 2011-09-04 17:17:46 +0800 by logger.rb/25413
REQUESTING PAGE: GET /customers with {} and HTTP headers {}
REQUESTING PAGE: GET /customers with {} and HTTP headers {}

0 comments on commit 90cb917

Please sign in to comment.