Skip to content

Commit

Permalink
v0.1.1 - with cancel button
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonfb committed May 9, 2021
1 parent 7c22094 commit 94d2ac0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,17 @@ Instantly get a simple CRUD interface
```

- Rspec setup
add `gem 'rspec-rails'` to your gemfile inside :development and :test
add `gem 'factory_bot_rails'` to your gemfile inside :development and :test
run `rails generate rspec:install`
configure Rspec to work with Factory Bot inside of `rails_helper.rb`
- add `gem 'rspec-rails'` to your gemfile inside :development and :test
- add `gem 'factory_bot_rails'` to your gemfile inside :development and :test
- run `rails generate rspec:install`
- configure Rspec to work with Factory Bot inside of `rails_helper.rb`
```
RSpec.configure do |config|
// ... more rspec configuration (not shown)
config.include FactoryBot::Syntax::Methods
end
```
more info:
https://github.com/thoughtbot/factory_bot/blob/master/GETTING_STARTED.md#rspec
- for a quick Capybara login, create a support helper in `spec/support/` and log-in as your user
Expand Down Expand Up @@ -354,7 +354,10 @@ If you do not want inline editing of your list items but instead to fall back to
# VERSION HISTORY
#### 2021-04-28 - v0.1.0 - Very please to introduce full behavior specs, found in specs/system/, generated by default on all build code; also many fixes involving nesting and authentication"
#### - v0.1.1 -
#### 2021-04-28 - v0.1.0 - Very pleased to introduce full behavior specs, found in specs/system/, generated by default on all build code; also many fixes involving nesting and authentication"
#### 2021-03-24 - v0.0.9 - fixes in the automatic field label detection; cleans up junk in spec output
Expand Down
1 change: 1 addition & 0 deletions lib/generators/hot_glue/templates/_form.haml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.row
<%= all_form_fields %>
.col
= link_to "Cancel", accounts_path, {class: "btn btn-secondary"}
= f.submit "Save", class: "btn btn-primary pull-right"
2 changes: 1 addition & 1 deletion lib/hotglue/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module HotGlue
VERSION = '0.1.0'
VERSION = '0.1.1'
end

0 comments on commit 94d2ac0

Please sign in to comment.