* suppressing the correct test so that stdout of rspec tests isn't broken up with curl debug statement from tire
This commit is contained in:
parent
1f140dacc2
commit
1881718eb9
|
|
@ -49,7 +49,6 @@ describe Search do
|
|||
end
|
||||
|
||||
it "validates rebuild_indexes method of TireTasks" do
|
||||
pending "figure out how to suppress stdout 'curl' message from tire"
|
||||
create_peachy_data
|
||||
|
||||
TireTasks.rebuild_indexes
|
||||
|
|
|
|||
|
|
@ -102,7 +102,8 @@ describe "tire search" do
|
|||
result.id.should == @band.id
|
||||
end
|
||||
|
||||
it "should count index" do
|
||||
it "should fail to search deleted index" do
|
||||
pending "until figure out how to stop tire from writing to stdout when a search of deleted index occurs"
|
||||
|
||||
sleep 1 # https://jamkazam.atlassian.net/browse/VRFS-69
|
||||
s = Tire.search ['test-jamruby-users'], :search_type => 'count', :query => {"match_all" => {}} do
|
||||
|
|
@ -129,8 +130,6 @@ describe "tire search" do
|
|||
|
||||
end
|
||||
|
||||
#s.response.code.should == 404
|
||||
#s.response.to_s.include?("IndexMissingException").should be_true
|
||||
expect {s.results.total}.to raise_error(Tire::Search::SearchRequestFailed)
|
||||
begin
|
||||
s.results.total
|
||||
|
|
@ -139,4 +138,4 @@ describe "tire search" do
|
|||
srf.to_s.include?("IndexMissingException").should be_true
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue