Rspec tests for cookie method(DBC Challenge)