Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (8 sloc) 280 Bytes
require "spec_helper"
describe "WordCount" do
it "can count words" do
path = File.expand_path("../../../../public/shakespeare-plays.csv", __FILE__)
expect(WordCount.search(path, "thee")).to eq(3034)
expect(WordCount.ruby_search(path, "thee")).to eq(3034)
end
end