Skip to content

Instantly share code, notes, and snippets.

@unobliged
Created June 14, 2012 19:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save unobliged/2932511 to your computer and use it in GitHub Desktop.
Save unobliged/2932511 to your computer and use it in GitHub Desktop.
passages helper spec
require 'spec_helper'
describe PassagesHelper do
describe "#unique_words" do
let(:passage) { FactoryGirl.create(:passage) }
passage.title.should eq("testFG")
# @result = unique_words(:passage.content)
# result.to_set == result
end
describe "#define_words_CEDICT" do
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment