correct spec

This commit is contained in:
Sam 2018-05-15 15:20:36 +10:00
parent fe89f441ae
commit b9c6821261
1 changed files with 5 additions and 5 deletions

View File

@ -344,12 +344,12 @@ describe Report do
end
it "returns a report with data" do
expect(report.data[0][0]).to eq("ruby")
expect(report.data[0][1]).to eq(2)
expect(report.data[0][2]).to eq('33.4%')
expect(report.data[0][:term]).to eq("ruby")
expect(report.data[0][:unique_searches]).to eq(2)
expect(report.data[0][:ctr]).to eq('33.4%')
expect(report.data[1][0]).to eq("php")
expect(report.data[1][1]).to eq(1)
expect(report.data[1][:term]).to eq("php")
expect(report.data[1][:unique_searches]).to eq(1)
end
end
end