Skip to content

Commit d8804c8

Browse files
committed
Update all flags test
1 parent 39cf927 commit d8804c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/ldclient_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@
103103

104104
describe '#all_flags' do
105105
it "will parse and return the features list" do
106-
result = double("Faraday::Response", status: 200, body: '{"foo": {"key": "foo"}}')
106+
result = double("Faraday::Response", status: 200, body: '{"asdf":"qwer"}')
107107
expect(client).to receive(:make_request).with("/api/eval/features").and_return(result)
108108
data = client.send(:all_flags)
109-
expect(data).to eq {foo : {key: "foo"}}
109+
expect(data).to eq(asdf: "qwer")
110110
end
111111
it "will log errors" do
112112
result = double("Faraday::Response", status: 418)

0 commit comments

Comments
 (0)