Skip to content

Commit

Permalink
Add spec test
Browse files Browse the repository at this point in the history
  • Loading branch information
bmclaughlin committed Apr 29, 2019
1 parent d377c3c commit 4f7acd4
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@
expect(controller).to receive(:render)
controller.send(:exp_changed)
expect(expression.exp_key).to eq('IS')
controller.instance_variable_set(:@expkey, :record_filter)
controller.instance_variable_set(:@_params, :chosen_field => "Flavor.cloud_tenants-id")
expect(controller).to receive(:render)
controller.send(:exp_changed)
expect(expression.exp_key).to_not eq('CONTAINS')
expect(expression.exp_key).to eq('=')
end
end
end
Expand Down

0 comments on commit 4f7acd4

Please sign in to comment.