mirror of
https://github.com/amix/vimrc
synced 2025-07-08 09:35:00 +08:00
renamed sources_non_forked folder to bundle
This commit is contained in:
5
bundle/snipmate-snippets/ruby-shoulda/context.snippet
Normal file
5
bundle/snipmate-snippets/ruby-shoulda/context.snippet
Normal file
@ -0,0 +1,5 @@
|
||||
context "${1:context}" do
|
||||
|
||||
${2}
|
||||
|
||||
end
|
1
bundle/snipmate-snippets/ruby-shoulda/samao.snippet
Normal file
1
bundle/snipmate-snippets/ruby-shoulda/samao.snippet
Normal file
@ -0,0 +1 @@
|
||||
should_allow_mass_assignment_of :${1:field}
|
1
bundle/snipmate-snippets/ruby-shoulda/savf.snippet
Normal file
1
bundle/snipmate-snippets/ruby-shoulda/savf.snippet
Normal file
@ -0,0 +1 @@
|
||||
should_allow_values_for :${1:field}, "${2:value}"
|
1
bundle/snipmate-snippets/ruby-shoulda/sbt.snippet
Normal file
1
bundle/snipmate-snippets/ruby-shoulda/sbt.snippet
Normal file
@ -0,0 +1 @@
|
||||
should_belong_to :${1:association}
|
1
bundle/snipmate-snippets/ruby-shoulda/selal.snippet
Normal file
1
bundle/snipmate-snippets/ruby-shoulda/selal.snippet
Normal file
@ -0,0 +1 @@
|
||||
should_ensure_length_at_least :${1:field}, ${2:min_length}
|
1
bundle/snipmate-snippets/ruby-shoulda/seli.snippet
Normal file
1
bundle/snipmate-snippets/ruby-shoulda/seli.snippet
Normal file
@ -0,0 +1 @@
|
||||
should_ensure_length_is :${1:field}, ${2:length}
|
1
bundle/snipmate-snippets/ruby-shoulda/selir.snippet
Normal file
1
bundle/snipmate-snippets/ruby-shoulda/selir.snippet
Normal file
@ -0,0 +1 @@
|
||||
should_ensure_length_in_range :${1:field}, ${2:start}..${3:end}
|
3
bundle/snipmate-snippets/ruby-shoulda/setup.snippet
Normal file
3
bundle/snipmate-snippets/ruby-shoulda/setup.snippet
Normal file
@ -0,0 +1,3 @@
|
||||
setup do
|
||||
${1}
|
||||
end
|
1
bundle/snipmate-snippets/ruby-shoulda/sevir.snippet
Normal file
1
bundle/snipmate-snippets/ruby-shoulda/sevir.snippet
Normal file
@ -0,0 +1 @@
|
||||
should_ensure_value_in_range :${1:field}, ${2:start}..${3:end}
|
1
bundle/snipmate-snippets/ruby-shoulda/shabtm.snippet
Normal file
1
bundle/snipmate-snippets/ruby-shoulda/shabtm.snippet
Normal file
@ -0,0 +1 @@
|
||||
should_have_and_belong_to_many :${1:association}
|
1
bundle/snipmate-snippets/ruby-shoulda/shcm.snippet
Normal file
1
bundle/snipmate-snippets/ruby-shoulda/shcm.snippet
Normal file
@ -0,0 +1 @@
|
||||
should_have_class_methods :${1:method}
|
1
bundle/snipmate-snippets/ruby-shoulda/shdc.snippet
Normal file
1
bundle/snipmate-snippets/ruby-shoulda/shdc.snippet
Normal file
@ -0,0 +1 @@
|
||||
should_have_db_columns :${1:field}
|
1
bundle/snipmate-snippets/ruby-shoulda/shi.snippet
Normal file
1
bundle/snipmate-snippets/ruby-shoulda/shi.snippet
Normal file
@ -0,0 +1 @@
|
||||
should_have_indices :${1:field}
|
1
bundle/snipmate-snippets/ruby-shoulda/shim.snippet
Normal file
1
bundle/snipmate-snippets/ruby-shoulda/shim.snippet
Normal file
@ -0,0 +1 @@
|
||||
should_have_instance_methods :${1:method}
|
1
bundle/snipmate-snippets/ruby-shoulda/shm.snippet
Normal file
1
bundle/snipmate-snippets/ruby-shoulda/shm.snippet
Normal file
@ -0,0 +1 @@
|
||||
should_have_many :${1:association}
|
1
bundle/snipmate-snippets/ruby-shoulda/sho.snippet
Normal file
1
bundle/snipmate-snippets/ruby-shoulda/sho.snippet
Normal file
@ -0,0 +1 @@
|
||||
should_have_one :${1:association}
|
1
bundle/snipmate-snippets/ruby-shoulda/shroa.snippet
Normal file
1
bundle/snipmate-snippets/ruby-shoulda/shroa.snippet
Normal file
@ -0,0 +1 @@
|
||||
should_have_read_only_attributes :${1:field}
|
1
bundle/snipmate-snippets/ruby-shoulda/snamao.snippet
Normal file
1
bundle/snipmate-snippets/ruby-shoulda/snamao.snippet
Normal file
@ -0,0 +1 @@
|
||||
should_not_allow_mass_assignment_of :${1:field}
|
1
bundle/snipmate-snippets/ruby-shoulda/snavf.snippet
Normal file
1
bundle/snipmate-snippets/ruby-shoulda/snavf.snippet
Normal file
@ -0,0 +1 @@
|
||||
should_not_allow_values_for :${1:field}, "${2:value}"
|
1
bundle/snipmate-snippets/ruby-shoulda/svao.snippet
Normal file
1
bundle/snipmate-snippets/ruby-shoulda/svao.snippet
Normal file
@ -0,0 +1 @@
|
||||
should_validate_acceptance_of :${1:field}
|
1
bundle/snipmate-snippets/ruby-shoulda/svno.snippet
Normal file
1
bundle/snipmate-snippets/ruby-shoulda/svno.snippet
Normal file
@ -0,0 +1 @@
|
||||
should_validate_numericality_of :${1:field}
|
1
bundle/snipmate-snippets/ruby-shoulda/svpo.snippet
Normal file
1
bundle/snipmate-snippets/ruby-shoulda/svpo.snippet
Normal file
@ -0,0 +1 @@
|
||||
should_validate_presence_of :${1:field}
|
1
bundle/snipmate-snippets/ruby-shoulda/svuo.snippet
Normal file
1
bundle/snipmate-snippets/ruby-shoulda/svuo.snippet
Normal file
@ -0,0 +1 @@
|
||||
should_validate_uniqueness_of :${1:field}, :scoped_to => ${2:arrayofnames}
|
Reference in New Issue
Block a user