Last active
August 29, 2015 13:57
-
-
Save simonmorley/9410506 to your computer and use it in GitHub Desktop.
This file contains 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
describe "elastic search" do | |
let (:fw) {create :firmware} | |
before(:all) do ## SOMETIMES BEFORE EACH ## | |
Nas.index.delete | |
Nas.create_elasticsearch_index | |
end | |
it "should output nice json for nas session search" do | |
nas = create(:nas, location_id: @location.id) | |
create(:accounting, username: 'simons') | |
Nas.index.import Nas.all | |
sleep 1 | |
do some tests ... | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment