Use webmock instead of fakeweb for VCR; Fix tests; Use Timecop to speed up tests previously using sleep; Move artist rename into seperate operation
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
<%= simple_form_for(@artist) do |f| %>
|
||||
<div class="input">
|
||||
<label for="artist_name">Name</label>
|
||||
<%= text_field "artist", "name" %>
|
||||
[<%= link_to "check", "#", :id => "check-name-link" %>]
|
||||
<span id="check-name-result"></span>
|
||||
<% if @artist.new_record? %>
|
||||
<%= text_field "artist", "name" %>
|
||||
[<%= link_to "check", "#", :id => "check-name-link" %>]
|
||||
<span id="check-name-result"></span>
|
||||
<% else %>
|
||||
<p><%= @artist.name %></p>
|
||||
<% end %>
|
||||
</div>
|
||||
<%= f.input :other_names_comma, :hint => "Separate with commas", :as => :text, :label => "Other names" %>
|
||||
<%= f.input :group_name %>
|
||||
|
||||
Reference in New Issue
Block a user