Sha256: a05687389ece76e854361420747209b0b715605610073b85ed70ba4995de1444

Contents?: true

Size: 409 Bytes

Versions: 11

Compression:

Stored size: 409 Bytes

Contents

module WorkSupport
	def clean_all_work_related_classes
			Auth::Shopping::Product.delete_all
			Auth.configuration.location_class.constantize.delete_all
			Auth.configuration.user_class.constantize.delete_all
			Auth::Work::Schedule.delete_all
			Auth::Work::Minute.delete_all
	end
end
RSpec.configure do |config|
	config.include WorkSupport, :type => :request
	config.include WorkSupport, :type => :model
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
wordjelly-auth-1.1.7 spec/support/work_support.rb
wordjelly-auth-1.1.6 spec/support/work_support.rb
wordjelly-auth-1.1.5 spec/support/work_support.rb
wordjelly-auth-1.1.4 spec/support/work_support.rb
wordjelly-auth-1.1.3 spec/support/work_support.rb
wordjelly-auth-1.1.2 spec/support/work_support.rb
wordjelly-auth-1.1.1 spec/support/work_support.rb
wordjelly-auth-1.1.0 spec/support/work_support.rb
wordjelly-auth-1.0.9 spec/support/work_support.rb
wordjelly-auth-1.0.8 spec/support/work_support.rb
wordjelly-auth-1.0.5 spec/support/work_support.rb