Skip to content

Instantly share code, notes, and snippets.

@dhonig
Created April 15, 2014 19:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dhonig/10761871 to your computer and use it in GitHub Desktop.
Save dhonig/10761871 to your computer and use it in GitHub Desktop.
context "Searching" do
let!(:taxon) { create(:taxon, name: "shirts") }
let!(:taxon2) { create(:taxon, name: "shoes") }
let!(:a_product) { create(:product, taxons: [taxon], stores: [store],
description: "A product in english", price: 20) }
let!(:another_product) { create(:product, taxons: [taxon, taxon2], stores: [store], price: 80) }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment