add_redmine_plugins_test_ui_task.diff

Maria Tikhonova, 2015-11-19 13:54

Download (583 Bytes)

View differences:

lib/tasks/redmine.rake (working copy)
171 171
        t.verbose = true
172 172
        t.pattern = "plugins/#{ENV['NAME'] || '*'}/test/integration/**/*_test.rb"
173 173
      end
174

  
175
      desc 'Runs the plugins ui tests.'
176
      Rake::TestTask.new :ui => "db:test:prepare" do |t|
177
        t.libs << "test"
178
        t.verbose = true
179
        t.pattern = "plugins/#{ENV['NAME'] || '*'}/test/ui/**/*_test.rb"
180
      end
174 181
    end
175 182
  end
176 183
end