Let's remove those parenthesis.
Updated WebMock, VCR and some other gems.
Added the dotenv gem, gitignored .env and added an .env.example file.
Let's setup the Flickr configuration for the specs. We need to set the FlickRaw settings, but the Kuva settings as well. This can easily be done through environment variables using the dotenv gem.
Since we've set the Kuva settings in the spec helper, let's just stub the method we're testing in our it blocks and keep the other settings at its original values.
Let's allow HTTP connections when there is no VCR cassette for it.
Instead of matching request on the method and URI, let VCR match the requests on the method, URI and body. This will make replaying VCR cassettes easier (and more specific).
Instead of using the custom VCR::FilterData class, let's just use the default filter_sensitive_data method. We're filtering out our Kuva settings from the VCR cassettes here (those that are set in the .env file).
Removed the old Kuva::Elements::Photo, Kuva::Authorizer and Kuva::ApplicationController VCR cassettes.
Placed the :vcr tag on the describe block instead of the inner context blocks. Also removed the FlickRaw setup block, since this is already done in the config.before block in the spec helper.
FlickRaw is using secure URL's now.
Added the new VCR cassettes for the Kuva::Elements::Photo calls.
Added the new VCR cassette for the Kuva::ApplicationController spec.
Added the Kuva::Elements::Photoset class (incl. specs and VCR cassettes).
Added the environment variables as encryption keys for Travis CI.
Stop using VCR for the Kuva::Authorizer spec.