spec/lib/sniff/rake_tasks_spec.rb in sniff-0.6.6 vs spec/lib/sniff/rake_tasks_spec.rb in sniff-0.6.7

- old
+ new

@@ -12,9 +12,11 @@ let(:tasks) { Sniff::RakeTask.new } let(:emitter_path) { File.expand_path '../../../', File.dirname(__FILE__) } let(:rakefile) do rakefile = <<-RAKEFILE +Encoding.default_external = Encoding.find 'UTF-8' + require '#{emitter_path}/lib/sniff/rake_tasks' Sniff::RakeTasks.define_tasks RAKEFILE end