Refactor how test formulas are installed in tests

This commit is contained in:
Baffour Adu Boampong 2020-08-12 14:24:35 +00:00
parent 8acc72773a
commit 62125c2214

View File

@ -11,7 +11,7 @@ describe LivecheckFormula do
it "runs livecheck command for Formula" do it "runs livecheck command for Formula" do
formatted_response = described_class.init(action) formatted_response = described_class.init(action)
expect(formatted_response).not_to be_nil expect(formatted_response).not_to be_nil
expect(formatted_response).to be_a(Hash) expect(formatted_response).to be_a(Hash)
expect(formatted_response.size).not_to eq(0) expect(formatted_response.size).not_to eq(0)