Sha256: 6e773b78e6eba3c22a5e33221ffc7e3f1aaecfab578593bff68eba93d1696625
Contents?: true
Size: 637 Bytes
Versions: 2
Compression:
Stored size: 637 Bytes
Contents
require File.expand_path('../../spec_helper',__FILE__) include BrowserConfigHelper describe BrowseEverythingController, type: :controller do before(:all) { stub_configuration } after(:all) { unstub_configuration } let(:helper_context) {controller.view_context} let(:browser) { BrowseEverything::Browser.new(url_options) } let(:provider) { browser.providers['dropbox'] } before do allow(controller).to receive(:provider).and_return(provider) end describe "auth_link" do subject {helper_context.auth_link} it "has a single state" do expect(subject.scan(/state/).length).to eq 1 end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
browse-everything-0.10.2 | spec/helper/browse_everything_controller_helper_spec.rb |
browse-everything-0.10.1 | spec/helper/browse_everything_controller_helper_spec.rb |