Created
October 7, 2011 06:47
-
-
Save cola-zero/1269631 to your computer and use it in GitHub Desktop.
user spec which save data to database.
This file contains 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' | |
describe "User Model" do | |
let(:user) { User.save } | |
it 'can be created' do | |
user.should_not be_nil | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment