Skip to content

Commit

Permalink
Add require statement
Browse files Browse the repository at this point in the history
  • Loading branch information
lubaochuan committed Aug 26, 2015
1 parent c4090e6 commit b11cae9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/part1_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'ruby_intro.rb'

describe 'Ruby intro part 1' do
describe "#sum" do
it "should be defined" do
Expand Down
2 changes: 2 additions & 0 deletions spec/part2_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'ruby_intro.rb'

describe "#hello" do
it "should be defined" do
expect { hello("Testing") }.not_to raise_error()#::NoMethodError)
Expand Down
2 changes: 2 additions & 0 deletions spec/part3_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'ruby_intro.rb'

describe "BookInStock" do
it "should be defined" do
expect { BookInStock }.not_to raise_error
Expand Down

0 comments on commit b11cae9

Please sign in to comment.