spec/shoes/swt/dialog_spec.rb in shoes-swt-4.0.0.pre6 vs spec/shoes/swt/dialog_spec.rb in shoes-swt-4.0.0.pre7
- old
+ new
@@ -24,10 +24,10 @@
before :each do
@dialog = Shoes::Swt::Dialog.new
end
- TEXT = 'some random text'
+ TEXT = 'some random text'.freeze
describe 'alert' do
it 'pops up a window containing a short message.' do
double_message_box_expecting_message TEXT
@dialog.alert TEXT