Sha256: 0bd2849616a13280a571cb5ee6f44d8eae75a9db78da6bc52b10fad379d76cee
Contents?: true
Size: 1.17 KB
Versions: 3
Compression:
Stored size: 1.17 KB
Contents
require 'spec_helper' # This specs are deactivated intentionally. # See comments in config/initialiers/mini_profiler.rb. # feature "MiniProfiler", :js do # include SessionSteps # # describe "for a user being a developer" do # background do # @developer_user = create(:user_with_account) # @developer_user.developer = true # login(@developer_user) # end # scenario 'Make sure the MiniProfiler is properly initialized' do # Rack::MiniProfiler.config.pre_authorize_cb[:production].should == true # Rack::MiniProfiler.config.pre_authorize_cb[:test].should == true # end # scenario 'Visiting any page displays the MiniProfiler tool in the upper left corner of the browser.' do # visit root_path # wait_for_ajax # page.should have_selector ".profiler-results.profiler-left", visible: true # end # end # # describe "for a regular user" do # background do # login(:user) # end # scenario 'Visiting any page does not display the MiniProfiler tool.' do # visit root_path # wait_for_ajax # page.should have_no_selector ".profiler-results.profiler-left" # end # end # # end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
your_platform-1.0.1 | spec/features/mini_profiler_spec.rb |
your_platform-1.0.0 | spec/features/mini_profiler_spec.rb |
your_platform-0.0.2 | spec/features/mini_profiler_spec.rb |