summaryrefslogtreecommitdiffstats
path: root/spec/registration_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/registration_spec.rb')
-rw-r--r--spec/registration_spec.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/spec/registration_spec.rb b/spec/registration_spec.rb
new file mode 100644
index 0000000..1f89321
--- /dev/null
+++ b/spec/registration_spec.rb
@@ -0,0 +1,14 @@
+describe RegistrationApp do
+ include Rack::Test::Methods
+
+ def app
+ RegistrationApp
+ end
+
+ describe 'GET index' do
+ it 'displays the registration form' do
+ get '/'
+ expect(last_response).to be_ok
+ end
+ end
+end