Commit 4cf7d8d9 authored by Nicolas's avatar Nicolas

Fix consistency issues on New Application page.

parent f18a24f0
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
Use Use
%code= Doorkeeper.configuration.native_redirect_uri %code= Doorkeeper.configuration.native_redirect_uri
for local tests for local tests
.form-actions .form-actions
= f.submit 'Submit', class: "btn btn-primary wide" = f.submit 'Submit', class: "btn btn-create"
= link_to "Cancel", applications_profile_path, class: "btn btn-default" = link_to "Cancel", applications_profile_path, class: "btn btn-cancel"
%h3.page-title New application - page_title "New Application"
%h3.page-title New Application
%hr
= render 'form', application: @application = render 'form', application: @application
\ No newline at end of file
...@@ -197,7 +197,7 @@ class Spinach::Features::Profile < Spinach::FeatureSteps ...@@ -197,7 +197,7 @@ class Spinach::Features::Profile < Spinach::FeatureSteps
end end
step 'I should see application form' do step 'I should see application form' do
expect(page).to have_content "New application" expect(page).to have_content "New Application"
end end
step 'I fill application form out and submit' do step 'I fill application form out and submit' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment