mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-30 22:50:10 +03:00
Feature #2027: Remove flow spec dir
This commit is contained in:
parent
5ba466b44e
commit
a9a3305a88
@ -1,24 +0,0 @@
|
||||
#!/usr/bin/env rake
|
||||
|
||||
# -------------------------------------------------------------------------- #
|
||||
# Copyright 2010-2013, C12G Labs S.L. #
|
||||
# #
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may #
|
||||
# not use this file except in compliance with the License. You may obtain #
|
||||
# a copy of the License at #
|
||||
# #
|
||||
# http://www.apache.org/licenses/LICENSE-2.0 #
|
||||
# #
|
||||
# Unless required by applicable law or agreed to in writing, software #
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, #
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
|
||||
# See the License for the specific language governing permissions and #
|
||||
# limitations under the License. #
|
||||
#--------------------------------------------------------------------------- #
|
||||
|
||||
require 'rspec/core/rake_task'
|
||||
|
||||
RSpec::Core::RakeTask.new(:spec) do |t|
|
||||
t.pattern = 'spec/*_spec.rb'
|
||||
t.rspec_opts = '-f s --colour'
|
||||
end
|
@ -1 +0,0 @@
|
||||
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
|
@ -1,25 +0,0 @@
|
||||
$: << '.'
|
||||
|
||||
EXAMPLES_PATH = File.join(File.dirname(__FILE__), 'examples')
|
||||
|
||||
# Load the testing libraries
|
||||
require 'rubygems'
|
||||
require 'rspec'
|
||||
require 'rack/test'
|
||||
|
||||
# Load the Sinatra app
|
||||
require 'controllers/server'
|
||||
|
||||
# Make Rack::Test available to all spec contexts
|
||||
RSpec.configure do |conf|
|
||||
conf.include Rack::Test::Methods
|
||||
end
|
||||
|
||||
# Set the Sinatra environment
|
||||
set :environment, :test
|
||||
|
||||
|
||||
# Add an app method for RSpec
|
||||
def app
|
||||
Sinatra::Application
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user