lib/cypress_rails.rb in cypress_rails-0.3.0 vs lib/cypress_rails.rb in cypress_rails-0.4.0
- old
+ new
@@ -1,3 +1,13 @@
# frozen_string_literal: true
#
require "cypress_rails/version"
+require "cypress_rails/railtie"
+require "cypress_rails/configuration"
+
+module CypressRails
+
+ def seeds(name)
+ instance_eval File.read("spec/cypress/seeds/#{name}.rb")
+ end
+ module_function :seeds
+end