Skip to content

Commit

Permalink
check that lowercase variable doesn't have an error
Browse files Browse the repository at this point in the history
  • Loading branch information
rothsa committed Apr 22, 2015
1 parent e3dac3e commit fda0829
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
expect(problems).to contain_warning(msg).on_line(1).in_column(1)
end
end
end

context 'a variable containing only lowercase letters' do
let(:code) { '$foobar' }

it 'should not detect any problems' do
expect(problems).to have(0).problems
end
end
end

0 comments on commit fda0829

Please sign in to comment.