Created
December 31, 2015 10:22
-
-
Save rstarmer/99b1a683df881a040941 to your computer and use it in GitHub Desktop.
Rspec file describing a simple test for our ruby application
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
# spec/hw_spec.rb | |
require File.expand_path '../spec_helper.rb', __FILE__ | |
describe "My Sinatra Application" do | |
it "expect accessing the home page to be successful" do | |
get '/' | |
expect(last_response).to be_ok | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment