Sha256: c658383434b918a59048902a139a509950e84ed0513e16837d0279bd21b22e5d
Contents?: true
Size: 510 Bytes
Versions: 7
Compression:
Stored size: 510 Bytes
Contents
require 'spec_helper' describe 'Locals', :type => :feature, :js => true do before do visit basic_action_foo_path end describe '_l' do it 'has access to local methods' do page.evaluate_script('helperMethodValue').should be 100 end it 'has access to local variables' do page.evaluate_script('helperVariableValue').should be 99 end it 'can override locals from its parent scope' do page.evaluate_script('overriden').should eq 'Override!' end end end
Version data entries
7 entries across 7 versions & 1 rubygems