test/dirmon_entry_test.rb in rocketjob-3.2.1 vs test/dirmon_entry_test.rb in rocketjob-3.3.0
- old
+ new
@@ -11,18 +11,18 @@
# Do something with the file name stored in :upload_file_name
end
end
class SumJob < RocketJob::Job
- @@result = nil
+ @result = nil
# For temp test data
def self.result
- @@result
+ @result
end
def perform(a, b)
- @@result = a + b
+ @result = a + b
end
end
describe RocketJob::DirmonEntry do
describe '.config' do